<template>
  <div>
    <div>姓名：{{ name }}</div>
    <div>地址：{{ a }}</div>
    <div>年龄：{{ age }} <button @click="addAge">Add</button></div>
  </div>
</template>

<script setup lang="ts" name="TestVue3666">
import { ref } from 'vue'

const age = ref(28)
const name = ref('张三')
const a = 'xiamen'
console.log(age)

function addAge() {
  age.value++
}

</script>

<style lang="scss" scoped></style>
